package com.payment.entity.purchase.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 支付结果通知回到数据库从支付平台会跳转到订购套餐服务项目去执行业务：
 * <p>
 * 订购套餐的操作（可能是新购套餐，也有可能是续订套餐）
 * <p>
 * 去请求订购业务接口时需要带的参数集合
 *
 * @author lm
 * @date 2020/1/7
 */
@Data
public class RequestPurchaseService implements Serializable {

    @ApiModelProperty(value = "渠道编码", example = "", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "企业密钥", example = "", dataType = "String")
    private String secret;

    @ApiModelProperty(value = "设备标识码", example = "", dataType = "String")
    private String deviceCode;

    @ApiModelProperty(value = "套餐名称", example = "", dataType = "String")
    private String packageName;

    @ApiModelProperty(value = "套餐编码", example = "", dataType = "String")
    private String packageCode;

    @ApiModelProperty(value = "套餐类型", example = "", dataType = "String")
    private String packageType;

    @ApiModelProperty(value = "订购周期", example = "", dataType = "String")
    private String orderPeriod;

    @ApiModelProperty(value = "支付金额", example = "", dataType = "String")
    private String amount;

    @ApiModelProperty(value = "流量套餐付费方式", example = "", dataType = "String")
    private String buyType;

    @ApiModelProperty(value = "日程套餐定价方式", example = "", dataType = "String")
    private String priceType;

    @ApiModelProperty(value = "售卖方式", example = "", dataType = "String")
    private String salesType;

    @ApiModelProperty(value = "支付单号", example = "", dataType = "String")
    private String payId;

    @ApiModelProperty(value = "前端自己生成的号", example = "", dataType = "String")
    private String orderNo;

    @ApiModelProperty(value = "支付结果", example = "", dataType = "String")
    private String payRst;

    @ApiModelProperty(value = "支付方式", example = "", dataType = "String")
    private String payType;

}
